//
//  YLRiskAssessmentCollectionCell.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/19.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLRiskAssessmentCollectionCell.h"
#import <Masonry.h>
#import <QuartzCore/QuartzCore.h>
#import "YLGlobeHeader.h"
@implementation YLRiskAssessmentCollectionCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        [self setUp];
    }
    return self;
}

- (void)setUp
{
    __weak typeof(self) weakSelf = self;
    UIView *baseView = [[UIView alloc] init];
    [self addSubview:baseView];
    [baseView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.mas_equalTo(weakSelf).mas_offset(20);
        make.right.bottom.mas_equalTo(weakSelf).mas_offset(-20);
    }];
    baseView.backgroundColor = [UIColor whiteColor];
    
    baseView.layer.shadowOpacity = 0.2;// 阴影透明度
    
    baseView.layer.shadowColor = YLLOrgColor.CGColor;// 阴影的颜色
    
    baseView.layer.shadowRadius = 4;// 阴影扩散的范围控制
    

    
    UILabel *titleLabel = [[UILabel alloc] init];
    [baseView addSubview:titleLabel];
    
    
}

+ (NSString *)cellID
{
    return @"YLRiskAssessmentCollectionCell";
}

@end
